package com.bluetoothsms.common;

public class MessageCalendarList extends BluetoothMessage {

	public MessageCalendarList(AndroidCalendar[] c) {
		super(BtMessageType.CalendarList, null);

		mData = new String[c.length * AndroidCalendar.FIELD_COUNT];

		int i = 0;

		for (AndroidCalendar entry : c) {
			mData[i++] = String.valueOf(entry.getId());
			mData[i++] = entry.getName();
		}
	}
}
